package com.demo.test.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 测试
 */
public interface ITestService {
    String test(String name, String password);

    String createSession(HttpServletRequest request, String name);

    String getSession(HttpServletRequest request);

    void login(HttpServletResponse response, String name);

    String getCookie(HttpServletRequest request, String name);
}
